package com.micro.common.service.web.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("ID-请求体")
public class IdReq {

    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;
}
